package com.cn.service.fallback;

import com.alibaba.fastjson.JSONObject;
import com.cn.service.UserService;
import feign.hystrix.FallbackFactory;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * @author: chenyuncong
 * @Date: 2019/12/4 17:43
 */
@Slf4j
@Component
public class UserServiceFallbackFactory implements FallbackFactory<UserService> {

    @Override
    public UserService create(Throwable throwable) {
        return null;
    }
}
